/*
 * lib2Desa - Another 2D game library in C++
 * Copyright (C) 2009 Erivaldo Xavier de Lima Filho
 *
 * This program is free software and is distributed under GNU General Public License version 3. You can modify and/or redistribute
 * it under the terms of GPL version 3 or posterior version. This program comes with NO WARRANTY, for more details, see LICENSE,
 * or <http://www.gnu.org/licenses>.
 *
 * Contact info:
 *
 *	Erivaldo Xavier de Lima Filho, desadoc@gmail.com
 *
 */

#ifndef _WINDOWMESSAGE_HPP
#define _WINDOWMESSAGE_HPP

#include "Core/IMessage.hpp"

#ifndef _NO_NAMESPACE
namespace lib2Desa {
#endif

class WindowMessage : public IMessage
{

public:

	enum WM_TYPE
	{
		WM_NONE,
		WM_CLOSE,
	};

private:
	
	WM_TYPE type;
	
public:

	WindowMessage(void)
	{
		type = WM_NONE;
	}

	WindowMessage(WM_TYPE t)
	{
		type = t;
	}
	
	WM_TYPE getType(void) const
	{
		return type;
	}
	
	IEvent::EVENT_TYPE getEventType(void) const
	{
		return IEvent::ET_WINDOW;
	}
};

#ifndef _NO_NAMESPACE
}
#endif

#endif /*WindowMessage.hpp included*/
